package com.feng.online_xdclass.mapper;

import com.feng.online_xdclass.model.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    int save(User user);
    User findByPhone(@Param("phone") String phone);

    User findByUserId(@Param("user_id") Integer id);
}
